
import request from '@/utils/request'
const serviceName = 'System'
//  列表
export function queryNotifys(data) {
  return request({
    url: serviceName + '/Notify/QueryNotifys',
    method: 'post',
    data
  })
}
//  详情
export function getNotify(data) {
  return request({
    url: serviceName + '/Notify/GetNotify',
    method: 'post',
    data
  })
}
//  新增 修改
export function saveNotify(data) {
  return request({
    url: serviceName + '/Notify/SaveNotify',
    method: 'post',
    data
  })
}
//  删除
export function deleteNotifys(data) {
  return request({
    url: serviceName + '/Notify/DeleteNotifys',
    method: 'post',
    data
  })
}
// 发布
export function publisNotify(data) {
  return request({
    url: serviceName + '/Notify/PublisNotify',
    method: 'post',
    data
  })
}

export default {
  queryNotifys,
  getNotify,
  saveNotify,
  deleteNotifys,
  publisNotify
}
